<style>
#weixin-toplist > .left {width:251px;float:left;}
#weixin-toplist > .right {width:251px;float:right;}
#weixin-toplist > .main {background-color:#FDFDFF;padding:26px;margin-left:251px;margin-right:251px;min-height: 1000px;}
#weixin-toplist > .main .big-t{background-color:#2FBDE1;line-height: 230px;text-align:center;font-size:44px;color:#fff;}
#weixin-toplist > .main .funb{height:35px;line-height:35px;}
#weixin-toplist > .main .funb a span{color:#3C3431;}
#weixin-toplist > .main .funb .day{background:url(/mprank/img/day-bg.jpg);width:129px;height:32px;float:right;text-align:right;padding-right:15px;padding-top:3px;}
#weixin-toplist > .main .funb .dw-toggle{background:url(/mprank/img/dw-toggle.jpg);width:201px;height:35px;float:left;}
#weixin-toplist > .main .funb .dw-toggle span{display:inline-block;width:47%;text-align:center;color:#3C3431;}
#weixin-toplist > .main .funb{padding:15px;}
#weixin-toplist > .main .next-pre{height:40px;padding:15px;}
#weixin-toplist > .main .next-pre a{width:150px;line-height:40px;display:block;background:url(/skin/img/next-button.png);text-align:center;color:#E0E8EA;}
#weixin-toplist > .main .next-pre .next{float:right;}
#weixin-toplist > .main .next-pre .pre{float:left;}
</style>
<script>
$(document).ready(function(){
	$('.n-calendar').change(function(){
		//alert("rankDaily.html?cid=<?=$data['cid']?>&date="+$(this).val())
		location.href = "favDaily.html?date="+$(this).val();
	});
});
</script>
<div id="weixin-toplist" class="n-max-width n-middle">
	<div class="left">
		<?php
		$m = n_mod('weixin');
		$m->menu($data['cid']);
		?>
	</div>
	<div class="right">
		<?php
		$t = n_mod('weixin');
		$t->commend();

		?>
		<?php n_mod('weixin')->competeList();?>
	</div>
	<div class="main">
		<div class="big-t">
			中国自媒体排行榜
		</div>
		<div class="funb">
			<div class="day">
				<input style="width:70px!important;background-color:transparent;border:none;" type="text" name="" class="n-calendar" value="<?=date('Y-m-d',$data['date'])?>" />
			</div>
			<div class="dw-toggle">
				<a href="<?=n_url('mprank', 'favDaily')?>"><span>日榜</span></a>
				<a href="<?=n_url('mprank', 'favWeekly')?>"><span>周榜</span></a>
			</div>
		</div>
		<div class="list">
			<?php n_mod('mprank')->rankTable($data, 'Y' ,'day',$data['perpage']*($data['page']-1));?>

		</div>

	</div>
</div>